﻿using Common.Communal;
using ERP.Domain.CustomerSupplier;
using ERP.Domain.SalesManagement;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Sell.Services.Verifications
{
    public interface IVerificationServices
    {
        /// <summary>
        /// 添加采购核价
        /// </summary>
        /// <param name="verifications"></param>
        /// <returns></returns>
        Task<ApiResult<int>> AddVerification(Verification verifications);
        /// <summary>
        ///采购核价修改
        /// </summary>
        /// <param name="supplier"></param>
        /// <returns></returns>
        Task<ApiResult<int>> UpdateVerification(Verification verifications);
        /// <summary>
        /// 删除采购核价
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        Task<ApiResult<int>> DeleteVerification(int id);
        /// <summary>
        /// 修改审核状态
        /// </summary>
        /// <param name="id">核价单ID</param>
        /// <param name="reviewStatus">审核状态 (0-未审核, 1-已审核)</param>
        /// <returns></returns>
        Task<ApiResult<int>> UpdateReviewStatus(int id, int reviewStatus);
    }
}
